package jsyf.oa.dao.wechartSec;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import jsyf.oa.entity.wechartSec.WechartDeviceBrandEntity;
import jsyf.oa.idao.BaseDao;
import jsyf.oa.ientity.IBaseEntity;
import org.springframework.stereotype.Repository;

/**
 * Created by Administrator on 2018/4/8.
 */
@Repository
public class WechartDeviceBrandDao extends BaseDao {

    public WechartDeviceBrandDao() {

        this.iBaseEntity = new WechartDeviceBrandEntity();
    }
    @Override
    public IBaseEntity convertJson2Entity(JSONObject json) {
        return JSON.toJavaObject(json, WechartDeviceBrandEntity.class);

    }
}